﻿using System.Collections.Generic;
using Microsoft.AspNet.Identity.EntityFramework;

namespace TelerikedIn.Models
{
    // You can add profile data for the user by adding more properties to your User class, please visit http://go.microsoft.com/fwlink/?LinkID=317594 to learn more.
    public class ApplicationUser : User
    {
        private byte[] image;

        private ICollection<Connection> connections;

        private ICollection<Skill> skills;

        public ApplicationUser()
        {
            this.image = new byte[1];
            this.connections = new List<Connection>();
            this.Skills = new List<Skill>();
        }

        public string FirstName { get; set; }

        public string LastName { get; set; }

        public string City { get; set; }

        public string Country { get; set; }

        public string Education { get; set; }

        public virtual ICollection<Connection> Connections
        {
            get
            {
                return this.connections;
            }
            set
            {
                this.connections = value;
            }
        }

        public virtual ICollection<Skill> Skills
        {
            get
            {
                return this.skills;
            }
            set
            {
                this.skills = value;
            }
        }

        public virtual byte[] Image
        {
            get
            {
                return this.image;
            }
            set
            {
                this.image = value;
            }
        }
    }
}